package cn.blog.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import cn.blog.entity.Vote;
import cn.blog.entity.VoteExample;

@Mapper
public interface VoteMapper {
	long countByExample(VoteExample example);

	int deleteByExample(VoteExample example);

	int deleteByPrimaryKey(String vid);

	int insert(Vote record);

	int insertSelective(Vote record);

	List<Vote> selectByExample(VoteExample example);

	Vote selectByPrimaryKey(String vid);

	int updateByExampleSelective(@Param("record") Vote record, @Param("example") VoteExample example);

	int updateByExample(@Param("record") Vote record, @Param("example") VoteExample example);

	int updateByPrimaryKeySelective(Vote record);

	int updateByPrimaryKey(Vote record);
}